<script setup lang="ts">
defineProps({
  timeList: {
    type: Array<any>,
    required: true
  }
})
const emit = defineEmits(['clickLeftByTagCallback']);

function clickLeft(item: any) {
  emit('clickLeftByTagCallback', item)
}
</script>

<template>
  <div class="sortLeft">
    <div class="time">
      <a-timeline>
        <template v-for="(item) in timeList">
          <a-timeline-item class="cursor-pointer" @click="clickLeft(item.uid)">
            {{item.tagName}}
          </a-timeline-item>
        </template>
      </a-timeline>
    </div>
  </div>
</template>

<style scoped lang="less">

</style>
